﻿using System;
using System.Data;
using System.Data.OracleClient;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Oracle;

namespace VirtualAccess.Devices.Oracle.Enterprise
{
    public class OracleDataProvider : CustomOracleDataProvider, IDataProvider
    {
        private Database _database = DataBaseOperate.CreateWorkDataBase();

        public Database Database
        {
            get 
            {
                return _database;
            }
        }

        public bool IsOpened
        {
            get
            {
                return true;
            }
        }
    }
}
